package modeller.databasedesignmodel.transaction;

import modeller.databasedesignmodel.Attribute;
import modeller.databasedesignmodel.relation.Relation;
import modeller.databasedesignmodel.servicedemand.transaction.sqlquery.demandFetcher.ISQLQueryServiceDemandCalculator;
import modeller.databasedesignmodel.servicedemand.IServiceDemand;
import queped.SerializablePair;

import java.util.HashSet;

/**
 * Created by:  Jason Ye
 * Date:        23/03/2012
 * Time:        17:25
 */
public interface ISQLQuery {

    public String myToString();

    public IServiceDemand acceptCalculation(ISQLQueryServiceDemandCalculator visitor);

    public SerializablePair<Relation,HashSet<Attribute>> getRelation();

}
